package com.bobo.vo;

import org.springframework.stereotype.Component;

@Component
public class Product {
	private String category;
	private String danwei;

	private int id;

	private String ocost;
	private String productName;
	
	public String getCategory() {
		return category;
	}

	public String getDanwei() {
		return danwei;
	}

	public int getId() {
		return id;
	}

	public String getOcost() {
		return ocost;
	}

	public String getProductName() {
		return productName;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public void setDanwei(String danwei) {
		this.danwei = danwei;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setOcost(String ocost) {
		this.ocost = ocost;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	@Override
	public String toString() {
		return "Product [id=" + id + ", productName=" + productName
				+ ", category=" + category + ", ocost=" + ocost + ", danwei="
				+ danwei + "]";
	}
}
